package org.jeecg.modules.wmhb.dto.req;

import java.io.Serializable;

import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * 产品BOM对象
 */
@Data
public class ProductBomReqDto implements Serializable {
    @Excel(name = "阶数")
    private Integer level;

    @Excel(name = "产品编码")
    private String code;

    @Excel(name = "产品名称")
    private String name;

    @Excel(name = "父产品编码")
    private String pcode;

    @Excel(name = "单位", dicCode = "unit_of_measure")
    @Dict(dicCode = "unit_of_measure")
    private String unitOfMeasure;

    @Excel(name = "数量")
    private Double quantity;

    @Excel(name = "单重")
    private Double singleWeight;

    @Excel(name = "总重")
    private Double totalWeight;

    @Excel(name = "规格")
    private String specification;

    @Excel(name = "尺寸")
    private String size;

    @Excel(name = "材质")
    private String material;

    @Excel(name = "工艺单号")
    private String processNo;

    @Excel(name = "参数及其他要求")
    private java.lang.String otherRequire;

    @Excel(name = "序号")
    private java.lang.String seriesNo;

    @Excel(name = "图号/国标及规格", width = 15)
    private java.lang.String gbNumber;

    @Excel(name = "名 称", width = 15)
    private java.lang.String mingCheng;

    @Excel(name = "物资去向", width = 15)
    private java.lang.String gotowhere;

    @Excel(name = "材 料", width = 15)
    private java.lang.String caiLiao;

    @Excel(name = "规 格", width = 15)
    private java.lang.String guiGe;

    @Excel(name = "备注", width = 15)
    private java.lang.String remark;

    @Excel(name = "产品物料标识", dicCode = "item_or_product")
    @Dict(dicCode = "item_or_product")
    private String itemOrProduct;  // 产品物料标识

    @Excel(name = "产品BOM性质", width = 15, dicCode = "bom_type")
    @Dict(dicCode = "bom_type")
    private String bomType;       // 产品性质（自制，外协，外购，安装材料，安装调试，技术服务）

    @Excel(name = "是否发货单位", width = 15, dicCode = "sys_yes_no")
    @Dict(dicCode = "sys_yes_no")
    private String isSendUnit;     // 是否发货单位

    @Excel(name = "是否需要报料", width = 15, dicCode = "sys_yes_no")
    @Dict(dicCode = "sys_yes_no")
    private String isNeedBuy;     // 是否需要报料

    private String status;         // 导入状态

    private String result;
}
